<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册界面</title>
    <link rel="stylesheet" th:href="@{../css/login.css}" href="../css/login.css">
</head>
<body>
<form action="/register_exp3" method="post">
    <br> <br> <br> <br> <br> <br>
    <div style="width:100%;float:left;margin:0 20px;"></div>
    <div style="font-size:28px;text-align: center">欢迎注册</div>
    <div style="text-align:center;border: solid 1px black;width: 350px;height: 500px;margin:0 auto;">
        <br/><br/><br/>
        <input type="text" name="name" placeholder="账号" required>
        <br/> <br/> <br/>
        <input type="text"name="user"placeholder="用户名"required>
        <br/> <br/> <br/>
        <input type="text"name="job"placeholder="职业"required>
        <br/> <br/> <br/>
        <input type="password" name="password" id="pp" placeholder="密码" required>
        <br/> <br/> <br/>
        <input type="password" id="pp1" placeholder="再次确认密码" onblur="Check()" required>
        <span id="warning">   </span>
        <br/> <br/> <br/>
        <input type="email" name="mail" placeholder="电子邮箱" required>
        <br/> <br/>
        <!--<input type="text"name="weixin"placeholder="微信号"required>-->
        <!--<br><br/> <br/>-->
        <!--<input type="text"name="phone"placeholder="手机号"required>-->
        <!--<br><br/> <br/>-->
        <input style="background-color: #00B5AD;color: #FFFFFF;text-shadow: none;width: 100px" type="submit" value="注册">
        <script>
            function Check()
            {
                if(document.getElementById("pp").value!=document.getElementById("pp1").value)
                {
                    alert("两次密码不一样");
                }
            }
        </script>
    </div>
</form>
</body>

</html>